package com.etc.pojo;

import lombok.Data;

/**
 * @program: RookieSocialNetworking02
 * @description: 管理员实体类
 * @author: 梁伟文
 * @create: 2020-08-14 20:20
 **/
//@Data
public class Admin {
    private Integer adminId;
    private String adminName;
    private String adminPwd;
    private String adminImg;
    private Integer adminLevel;
    private Integer adminStatus;
    private final String SOLT = "caiji6";


    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminPwd() {
        return adminPwd;
    }

    public void setAdminPwd(String adminPwd) {
        this.adminPwd = adminPwd;
    }

    public String getAdminImg() {
        return adminImg;
    }

    public void setAdminImg(String adminImg) {
        this.adminImg = adminImg;
    }

    public Integer getAdminLevel() {
        return adminLevel;
    }

    public void setAdminLevel(Integer adminLevel) {
        this.adminLevel = adminLevel;
    }

    public Integer getAdminStatus() {
        return adminStatus;
    }

    public void setAdminStatus(Integer adminStatus) {
        this.adminStatus = adminStatus;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId=" + adminId +
                ", adminName='" + adminName + '\'' +
                ", adminPwd='" + adminPwd + '\'' +
                ", adminImg='" + adminImg + '\'' +
                ", adminLevel=" + adminLevel +
                ", adminStatus=" + adminStatus +
                '}';
    }

    public Admin(Integer adminId, String adminName, String adminPwd, String adminImg, Integer adminLevel, Integer adminStatus) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPwd = adminPwd;
        this.adminImg = adminImg;
        this.adminLevel = adminLevel;
        this.adminStatus = adminStatus;
    }

    public Admin(String adminName, String adminPwd, String adminImg, Integer adminLevel, Integer adminStatus) {
        this.adminName = adminName;
        this.adminPwd = adminPwd;
        this.adminImg = adminImg;
        this.adminLevel = adminLevel;
        this.adminStatus = adminStatus;
    }

    public Admin(String adminName, String adminPwd) {
        this.adminName = adminName;
        this.adminPwd = adminPwd;
    }

    public Admin(String adminName, String adminPwd, String adminImg) {
        this.adminName = adminName;
        this.adminPwd = adminPwd;
        this.adminImg = adminImg;
    }

    public Admin(Integer adminId, String adminName, String adminPwd, Integer adminLevel, Integer adminStatus) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPwd = adminPwd;
        this.adminLevel = adminLevel;
        this.adminStatus = adminStatus;
    }

    public Admin() {
    }


}
